package ai4games_tests.maths;

import game2dai.maths.FastMath;
import game2dai.utils.Message;

public class FloorTest {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		double n;
		
		n = 1.2; Message.println("Floor({0} = {1} ",n, FastMath.floor(n));
		n = -1.2; Message.println("Floor({0} = {1} ",n, FastMath.floor(n));
		n = 1.999; Message.println("Floor({0} = {1} ",n, FastMath.floor(n));
		n = -1.999; Message.println("Floor({0} = {1} ",n, FastMath.floor(n));
		n = 0.999; Message.println("Floor({0} = {1} ",n, FastMath.floor(n));
		n = -0.999; Message.println("Floor({0} = {1} ",n, FastMath.floor(n));

	}

}
